You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > MtxPower Method > Matrix.MtxPower Method ([In] TMtx, double, TMtxType)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.MtxPower Method ([In] TMtx, double, TMtxType)

Calculates the matrix to any power, real or integer.

Syntax
C#
Visual Basic
public TMtx MtxPower([In] TMtx Src, double Exponent, TMtxType SourceType);

Calculate the matrix to any power, real or integer. It can also be used to compute the square root of the matrix. Because the MtxFunction method is based on the eigenvalue decomposition and the eigenvalue, the SourceType for symmetric and symmetric positive definite matrices has to be defined explicitly. 

Note The algorithm for general matrices will fail on a symmetric matrix.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!